package com.affectu.search.fetch;

import java.util.concurrent.ExecutorService;

import com.affectu.common.base.UtilBase;
import com.affectu.common.util.ThreadPoolUtil;

/**
 * @author jmzw
 * 
 */
public class FetchThread extends UtilBase implements Runnable {

	public void run() {
		ExecutorService pool = ThreadPoolUtil.getThreadPool();
		try {
			pool.execute(new WitkeyNews());
			pool.execute(new WitkeyTheory());

			pool.submit(new Zhubajie());
			pool.submit(new TaskCN());
			pool.submit(new TallZhi());
			pool.shutdown();
		} catch (Exception e) {
			logException(e);
		}
	}
}
